<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
		<meta name="keywords" content="浙江刑事律师,杭州刑事律师,刑事律师,刑辩律师,浙江刑事辩护律师,浙江刑辩律师,杭州刑事辩护律师,杭州刑辩律师" />
		<meta name="description" content="刑辩是法治的风向标。民主盛行、法治完备，刑辩才有其应有的地位和作用。同时，也只有刑辩专业化达到一定水准，才能取得执政党和人民群众的认可，获得应有的地位。靖霖律师将努力践行刑辩专业化的道路，打造一支刑辩" />
		<title>靖霖(宁波)律师事务所 - 浙江刑事律师,杭州刑事律师,浙江刑辩律师</title>
		<link href="lvshi/iconfont/iconfont.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" href="lvshi/css/swiper.min.css">
		<link rel="stylesheet" type="text/css" href="lvshi/css/common.css"/>
	</head>
	<body>
		<!-- 头部 -->
		<header><img class="logo" src="img/logo.png" alt=""></header>
		<!-- 主体 -->
		<div class="main">
			<!-- 轮播图 -->
			<div class="swiper-container banner">
				<div class="swiper-wrapper banner-wrapper">
					<div class="swiper-slide banner-item"><img src="lvshi/img/banner_img1.png" alt=""></div>
					<div class="swiper-slide banner-item"><img src="lvshi/img/banner_img2.png" alt=""></div>
					<div class="swiper-slide banner-item"><img src="lvshi/img/banner_img3.png" alt=""></div>
				</div>
				<div class="swiper-pagination"></div>
			</div>
			<!--律所简介-->
			<div class="description">
				<div class="title">
					<i class="iconfont iconfont-yingyong"></i>
					律所介绍
				</div>
				<div class="desc desc_con">
					<div>浙江靖霖（宁波）律师事务所策承“攻刑以专，相靖以霖”之总所所训，以宁波市律协刑委会主任李崇杰为律所主任，汇聚中国犯罪学研究会常务理事、中国刑法学研究会理事、中国海洋法学研究会理事、宁波大学法学院刑事法学科带头人赵微教授，某区人民检察院反贪局原局长、专职委员余光升律师，某区人民法院研究室原主任、宁波大学司法实务研究中心秘书长冯一文博士后，浙江省律协刑委会优秀资深委员、宁波市律协第六届刑委会副主任赖建平律师，某县人民检察院公诉科原科长杨松律师，原海军团政委、司法局副处级公务员王盛汉律师，某县检察院反贪局前检察官童巨海等十多位具有深厚的刑事法理论和丰富的司法实践经验之律师。</div>
					<div>浙江峭霖（宁波）律师事务所实行公司化管理．团队化运行，专业化办案，流程化服务，潜心研办刑事业务，专门为当事人提供精细化刑事辩护和防范刑事法律风险等服务。</div>
				</div>
				<div class="more" data-tip = "0"><i class="iconfont iconfont-xiangxia2" style="color: #1296db;font-size: 10px;margin-right: 3px;"></i>展开</div>
			</div>
			<!-- 明星律师 -->
			<div class="star-lawyer">
				<div class="title">
					<i class="iconfont iconfont-shoucang"></i>
					明星律师
				</div>
				<div class="swiper-container star-lawyer-container">
					<div class="swiper-wrapper star-lawyer-wrapper" id="lawList"></div>
				</div>
			</div>
			<!-- 最新案例 -->
			<div class="new-case">
				<div class="title">
					<i class="iconfont iconfont-xin">&#xf0021;</i>
					最新案例
				</div>
				<ul class="case-list case"></ul>
			</div>
			<div class="new-case" style="padding: 0 10px 10px;">
				<div class="title">
					<i class="iconfont iconfont-tuwenxiangqing"></i>
					行业新闻
				</div>
				<ul class="case-list news"></ul>
			</div>
		</div>
		<!-- 底部 -->
		<footer>
			<div data-href="/">
				<i class="iconfont iconfont-shouye footer-iconfont footer-iconfont-active"></i>
				<div class="footer-font">首页</div>
			</div>
			<div data-href="lvshi_list2">
				<i class="iconfont iconfont-haoyou footer-iconfont"></i>
				<div>专业团队</div>
			</div>
			<div data-href="article">
				<i class="iconfont iconfont-wenjian footer-iconfont"></i>
				<div>经典案例</div>
			</div>
			<div data-href="news">
				<i class="iconfont iconfont-tuwenxiangqing footer-iconfont"></i>
				<div>行业新闻</div>
			</div>
			<div data-href="lvshi_contact">
				<i class="iconfont iconfont-dianhua footer-iconfont">&#xf01ef;</i>
				<div>联系我们</div>
			</div>
		</footer>
		<script type="text/javascript" src="lvshi/js/jquery.min.js"></script>
		<script type="text/javascript" src="lvshi/js/swiper.min.js"></script>
		<script type="text/javascript" src="lvshi/js/common.js"></script>
		<script type="text/javascript">

			(function(){
			    var UserClient = navigator.userAgent.toLowerCase();
			    var IsIPad = UserClient.match(/ipad/i) == "ipad";
			    var IsIphoneOs = UserClient.match(/iphone os/i) == "iphone os";
			    var IsMidp = UserClient.match(/midp/i) == "midp";
			    var IsUc7 = UserClient.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
			    var IsUc = UserClient.match(/ucweb/i) == "ucweb";
			    var IsAndroid = UserClient.match(/android/i) == "android";
			    var IsCE = UserClient.match(/windows ce/i) == "windows ce";
			    var IsWM = UserClient.match(/windows mobile/i) == "windows mobile";
			    if(!IsIPad && !IsIphoneOs && !IsMidp && !IsUc7 && !IsUc && !IsAndroid && !IsCE && !IsWM){
			        window.location = "http://www.jinglin-nb.com/";
			    }
			})()
			
			var params = {
				limit: 7, //记录数
				offset: 1, //页码
				orderStr: 'asc'
			};
			var params1 = {
				limit: 10, //记录数
				offset: 1, //页码
				orderStr: 'asc',
				type: '案例'
			};
			var params2 = {
				limit: 10, //记录数
				offset: 1, //页码
				orderStr: 'asc',
				type: '新闻'
			};
			var banner = new Swiper('.swiper-container.banner', {
				loop: true,
				pagination: '.swiper-pagination',
				autoplay: 2000,
				speed: 500,
				autoplayDisableOnInteraction: false
			});
			
			
			
			$(document).ready(function() {
				search(); //搜索
				var h1 = $('.desc div').eq(0).height();
				var h2 = $('.desc div').eq(1).height();
				$('.more').click(function(){
					if ($(this).attr('data-tip') == 0) {
						$('.desc').animate({'height': h1 + h2},500);
						$(this).html('<i class="iconfont iconfont-xiangshang3" style="color: #1296db;font-size: 10px;margin-right: 3px;"></i>收起')
						$(this).attr('data-tip',1)
					} else {
						$('.desc').animate({'height': 44},500);
						$(this).html('<i class="iconfont iconfont-xiangxia2" style="color: #1296db;font-size: 10px;margin-right: 3px;"></i>展开')
						$(this).attr('data-tip',0)
					}
				})
			});
			//查询方法
			function search() {
				//查询律师
				$.ajax({
					url: 'lawyer/list',
					type: 'get',
					data: params,
					dataType: "json",
					success: function(data) {
						var contentHtml = "";
						if(data.rows) {
							var reg = new RegExp(",", "g");
							for(var i = 0; i < data.rows.length; i++) {
								var obj = data.rows[i];
								contentHtml += "<div data-id = '" + obj.id + "' class='swiper-slide star-lawyer-item lawyer'>" +
									"<span><img src='" + obj.imgpic + "' ></span><div style='white-space:nowrap;overflow:hidden;text-overflow: ellipsis;'>" + obj.name + "</div></div>";
							}
							$("#lawList").html(contentHtml);
							initLvshiList();
							
							var starLawyer = new Swiper('.swiper-container.star-lawyer-container', {
								loop: true,
								autoplay: 5000,
								speed: 1000,
								autoplayDisableOnInteraction: false,
								slidesPerView: 3,
								spaceBetween: 5,
								slidesPerGroup: 1
							});
						}
					}
				});
				//查询文章
				$.ajax({
					url: 'content/list',
					type: 'get',
					data: params1,
					dataType: "json",
					success: function(data) {
						var contentHtml = "";
						console.log(data)
						if(data.rows) {
							for(var i = 0; i < data.rows.length; i++) {
								var obj = data.rows[i];
								var imgHtml = "<span class='noImg'>暂无图片</span>";
								if(obj.image) {
									imgHtml = "<img src='" + obj.image + "'/>";
								}
								contentHtml += "<li data-id = '" + obj.id + "'>" + imgHtml + "<div><div class='case-title'>" + obj.title + "</div><div class='case-info'><div><span>律师："+obj.layerName+"</span></div><span>时间："+obj.crtTime+"</span></div></div></li>";
			
							}
							$(".case-list.case").html(contentHtml);
							initCaseList();
						}
					}
				});
				
				
				//查询文章
				$.ajax({
					url: 'content/list',
					type: 'get',
					data: params2,
					dataType: "json",
					success: function(data) {
						var contentHtml = "";
						console.log(data)
						if(data.rows) {
							for(var i = 0; i < data.rows.length; i++) {
								var obj = data.rows[i];
								var imgHtml = "<span class='noImg'>暂无图片</span>";
								if(obj.image) {
									imgHtml = "<img src='" + obj.image + "'/>";
								}
								contentHtml += "<li data-id = '" + obj.id + "'>" + imgHtml + "<div><div class='case-title' style='overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;white-space: normal;'>" + obj.title + "</div><div class='case-info' style='margin-top:5px;'><span>时间："+obj.crtTime+"</span></div></div></li>";
			
							}
							$(".case-list.news").html(contentHtml);
							initCaseList1();
						}
					}
				});
			}
		</script>
	</body>
</html>
